#pragma once

#include "BaseInc.h"

struct MyRaster
{
	glyf_raster_t base;

	float_32 x, y;
	float_32 x_first, y_first;
	float_32 x_off, y_off;
	float_32 x_rate, y_rate;

	point_container_t * container;
};

void RasterReset(MyRaster * raster);
void RasterMoveTo(tag_glyf_raster * raster, float_32 x, float_32 y);
void RasterLineTo(tag_glyf_raster * raster, float_32 x, float_32 y);
void RasterCurveTo(tag_glyf_raster * raster, float_32 x2, float_32 y2, float_32 x3, float_32 y3);
void RasterLineClose(tag_glyf_raster * raster);
void RasterCurveClose(tag_glyf_raster * raster, float_32 x2, float_32 y2);
